Difference between C and Java
Here are the few key differences between C and Java programming languages.
#
C
JAVA
1
C is a procedure Oriented Language.
Java is an object-oriented programming language.
2
C compiles the source code to machine code.
Java compiles the java byte code.
3
C support goe to statement.
Java does not support go to statement.
4
In C language, Pointers are very commonly used.
Java does not have an explicit pointer data type.
5
C doesn’t support method overloading.
Java support method overloading.
6
In C, the size of short, int, and long types is a platform dependent, which hampers portability.
All the primitive types in Java has well -defined sizes.